﻿using Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BLL
{
    public static class Factory
    {

        #region 实例化员工DAL
        /// <summary>
        /// 实例化员工DAL
        /// </summary>
        /// <returns></returns>
        public static DAL.EmployeeDAL CreateEmployeeDAL()
        {
            return new DAL.EmployeeDAL();
        }
        #endregion

        #region 创建管理员DAL
        /// <summary>
        /// 创建管理员DAL
        /// </summary>
        /// <returns></returns>
        public static DAL.AdminDAL CreateAdminDAL()
        {
            return new DAL.AdminDAL();
        }
        #endregion

    }
}
